﻿using System.Collections.Generic;
using CiStatus.CiStatusAddIn.Logic.Status;

namespace CiStatus.CiStatusAddIn.Logic.PluginInterfaces
{
	/// <summary>
	/// Reports status of a CiStatus project
	/// </summary>
    public interface ICiPoller
    {
		/// <summary>
		/// Gives currect status
		/// </summary>
		/// <returns>Status object</returns>
        IStatus CurrentStatus();

		/// <summary>
		/// Connects to CI server 
		/// </summary>
        void Connect();

		IDictionary<string, ICiPollerParameter> Parameters { get; }
    }
}
